<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK"%>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>

<link href="part2admin/images/skin.css" rel="stylesheet" type="text/css" />
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="17" height="29" valign="top"
			background="images/mail_leftbg.gif"><img
			src="part2admin/images/left-top-right.gif" width="17" height="29" /></td>
		<td width="935" height="29" valign="top"
			background="part2admin/images/content-bg.gif">
		<table width="100%" height="31" border="0" cellpadding="0"
			cellspacing="0" class="left_topbg" id="table2">
			<tr>
				<td height="31">
				<div class="titlebt">修改信息</div>
				</td>
				<td align="right"><a href="javascript:;"
					onClick="$.closePopupLayer('editNews')" title="Close"
					class="close-link"><img
					src="part2admin/common/js/box/close.png" border="0" /></a></td>
			</tr>
		</table>
		</td>
		<td width="16" valign="top"
			background="part2admin/images/mail_rightbg.gif"><img
			src="part2admin/images/nav-right-bg.gif" width="16" height="29" /></td>
	</tr>
	<tr>
		<td height="71" valign="middle"
			background="part2admin/images/mail_leftbg.gif">&nbsp;</td>
		<td valign="top" bgcolor="#F7F8F9">
		<form name="newsForm" id="news" method="post"
			action="newsAction.do?method=edit" onSubmit="return check();">
		<input type="hidden" name="voa.value(news).field(newsId)"
			value="<bean:write name='customForm' property='voa.value(news).field(newsId)' ignore='true'/>" />
		<table width="100%" height="138" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="13" valign="top">&nbsp;</td>
			</tr>
			<tr>
				<td valign="top">
				<table width="98%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr>
						<td class="left_txt">当前位置：修改信息</td>
					</tr>
					<tr>
						<td height="20">
						<table width="100%" height="1" border="0" cellpadding="0"
							cellspacing="0" bgcolor="#CCCCCC">
							<tr>
								<td></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr>
						<td></td>
					</tr>
					<tr>
						<td></td>
					</tr>

					<tr>

						<td>

						<table width="100%" border="0" cellspacing="0" cellpadding="0">


							<tr>
								<td width="1638400%" height="30" colspan="4" align="right"
									class="left_txt2">
								<table width="100%" height="31" border="0" cellpadding="0"
									cellspacing="0" class="nowtable">
									<tr>
										<td class="left_bt2">&nbsp;&nbsp;&nbsp;信息内容 <select
											name="voa.value(news).field(type)">
											<logic:equal name="customForm"
												property="voa.value(news).field(type)" value="0">
												<option value="0" selected="selected">新闻消息</option>
												<option value="1">职员风采</option>
												<option value="2">培训专栏</option>
												<option value="3">服务与支持</option>
											</logic:equal>
											<logic:equal name="customForm"
												property="voa.value(news).field(type)" value="1">
												<option value="0">新闻消息</option>
												<option value="1" selected="selected">职员风采</option>
												<option value="2">培训专栏</option>
												<option value="3">服务与支持</option>
											</logic:equal>
											<logic:equal name="customForm"
												property="voa.value(news).field(type)" value="2">
												<option value="0">新闻消息</option>
												<option value="1">职员风采</option>
												<option value="2" selected="selected">培训专栏</option>
												<option value="3">服务与支持</option>
											</logic:equal>
											<logic:equal name="customForm"
												property="voa.value(news).field(type)" value="3">
												<option value="0">新闻消息</option>
												<option value="1">职员风采</option>
												<option value="2">培训专栏</option>
												<option value="3" selected="selected">服务与支持</option>
											</logic:equal>
										</select> &nbsp;&nbsp;&nbsp;&nbsp; <font style="color: red">(*为必填项)
										</td>
									</tr>
								</table>
								</td>
							</tr>
							<tr>


								<td height="30" colspan="4" align="center" class="left_txt">

								<label>标题(中)</label><font style="color: red">*</font> <input
									id="title" type="text" name="voa.value(news).field(title)"
									size="50"
									value="<bean:write name='customForm' property='voa.value(news).field(title)' ignore='true'/>" />

								<label><br>
								标题(英)</label> &nbsp; <input id="title" type="text"
									name="voa.value(news).field(titleEn)" size="50"
									value="<bean:write name='customForm' property='voa.value(news).field(titleEn)' ignore='true'/>" />
								</td>
							</tr>
							<tr>
								<td colspan="4" class="left_txt">内容(中)</td>
							</tr>
							<tr>
								<td height="30" colspan="4" class="left_txt"><FCK:editor
									id="voa.value(news).field(content)"
									basePath="part2admin/common/FCKeditor/" toolbarSet="part2"
									height="300">
									<bean:write name='customForm'
										property='voa.value(news).field(content)' ignore='true'
										filter='false' />
								</FCK:editor></td>
							</tr>
							<tr>
								<td colspan="4" class="left_txt">内容(英)</td>
							</tr>
							<tr>
								<td height="30" colspan="4" class="left_txt"><FCK:editor
									id="voa.value(news).field(contentEn)"
									basePath="part2admin/common/FCKeditor/" toolbarSet="part2"
									height="300">
									<bean:write name='customForm'
										property='voa.value(news).field(contentEn)' ignore='true'
										filter='false' />
								</FCK:editor></td>
							</tr>
						</table>
						</td>
					</tr>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="50%" height="30" align="right"><input
							type="submit" value="完成以上修改" name="B1" /></td>
						<td width="6%" height="30" align="right">&nbsp;</td>
						<td width="44%" height="30"><input type="reset" value="取消"
							name="B12" /></td>
					</tr>
				</table>
				</td>
			</tr>

		</table>
		</form>
		</td>
		<td background="part2admin/images/mail_rightbg.gif">&nbsp;</td>
	</tr>
	<tr>
		<td valign="middle" background="part2admin/images/mail_leftbg.gif"><img
			src="part2admin/images/buttom_left2.gif" width="17" height="17" /></td>
		<td height="17" valign="top"
			background="part2admin/images/buttom_bgs.gif"><img
			src="part2admin/images/buttom_bgs.gif" width="17" height="17" /></td>
		<td background="part2admin/images/mail_rightbg.gif"><img
			src="part2admin/images/buttom_right2.gif" width="16" height="17" /></td>
	</tr>
</table>
<script language="javascript">
function check(){
	if  (document.newsForm.title.value.length  ==  0)  {  
		alert("请输入标题!");
		document.newsForm.title.focus();
		return  false;
	}	
	return true;
}
</script>
</body>
